﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Data;

namespace WQDSkin.Core.Converters
{
    public class IsNullConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        { 
            return value == null;
        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {

            return Binding.DoNothing;
        }
    }
}
